import {get,post} from './http';

export const register= p => post('register',p); //注册用户
export const select_user= p => post('select_user',p); //查找所有用户
export const select_user_by_username= p => post('select_user_by_username',p); //查找单个用户
export const add_userRequest= p => post('add_userRequest',p); //申请添加对方为好友
export const select_userRequest= p => post('select_userRequest',p); //查询有谁想添加我为好友
export const insert_Friend= p => post('insert_Friend',p); //查询有谁想添加我为好友
export const select_Friend= p => post('select_Friend',p); //查询有谁想添加我为好友
export const delete_item_userRequest= p => post('delete_item_userRequest',p); //查询有谁想添加我为好友
export const delete_Friend= p => post('delete_Friend',p); //删除好友
export const insert_Message= p => post('insert_Message',p); //插入消息到消息列表
export const select_Message= p => post('select_Message',p); //查询消息列表
export const update_message_left= p => post('update_message_left',p); //更新message列表
export const select_message_left= p => post('select_message_left',p); //查询message列表
export const delete_message_left= p => post('delete_message_left',p); //删除双方的的messageLeft列表